You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > clVector Structure > clVector Methods > AddScaled Method > clVector.AddScaled Method ([In] TOpenCLMtxVec, double)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
clVector.AddScaled Method ([In] TOpenCLMtxVec, double)

Add each of Vec elements to corresponding elements in the calling object.

Syntax
C#
Visual Basic
public TOpenCLMtxVec AddScaled([In] TOpenCLMtxVec Vec, double aScale);

In addition, the following formula is being used: 

result = result+ aScale*Vec  

The results are stored in the calling object. Size and Complex properties of the calling object are set implicitly to match the Vec object.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!